home *** CD-ROM | disk | FTP | other *** search
- on(release){
- if(link.substr("1","7") eq "http:/ /")
- {
- trace("I\'m a live web page");
- getURL(link,"_blank");
- }
- else if(eval("../../:disclaimeraccepted") eq "yes")
- {
- NumberOfChars = length(link);
- LookForThisChar = NumberOfChars - "3";
- trace("This is Look for this char" add LookForThisChar);
- if(link.substr(LookForThisChar,"4") eq ".exe")
- {
- trace("I\'m an exe");
- fscommand("exec",eval("../../:PathtoCD") add link);
- }
- else
- {
- getURL(link,"");
- trace("I\'m a URL");
- }
- }
- else
- {
- tellTarget("../../Disclaimer")
- {
- gotoAndStop("disclaimer");
- }
- set("../../Disclaimer:filetolaunch",eval("../../:PathtoCD") add link);
- }
- }
-